package com.ruoyi.app.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代理等级业务对象 app_sales_level
 *
 * @author ruoyi
 * @date 2025-07-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppSalesLevelBo extends BaseEntity {

    /**
     * ID
     */
    private Long id;

    /**
     * 等级名称
     */
    @NotBlank(message = "等级名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String salesName;

    /**
     * 等级图标
     */
    private String salesImage;

    /**
     * 条件人数
     */
    private Long recommendNumber;

    /**
     * 奖励金额
     */
    @NotNull(message = "奖励金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal rewardOne;

    /**
     * 积分分红比例(%)
     */
    @NotNull(message = "积分分红比例(%)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal rewardTwo;

    /**
     * 备注
     */
    private String remark;


}
